home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
MRAC
/
Lengths
/
Generate
/
qlength
< prev
Wrap
Text File
|
1998-08-11
|
897b
|
30 lines
qlength pattern
This function provides a convenient form of short-hand for writing lists of note-lengths. To see an alternative form of short-hand examine g-length.
(qlength '16-1111)
=> (1/16 1/16 1/16 1/16)
(qlength '(16-1[11]1))
=> (1/16 11/16 1/16)
(qlength '(16-1[-11]1))
=> (1/16 -11/16 1/16)
(qlength '(16-103021[11]))
=> (1/16 -1/16 3/16 -1/16 2/16 1/16 11/16)
(qlength '(16-01 32-11 16-1 20-11[-3]))
=> (-1/16 1/16 1/32 1/32 1/16 1/20 1/20 -3/20)
(qlength '((16-01) (32-11) (16-1) (20-11[-3])))
=> ((-1/16 1/16) (1/32 1/32) (1/16) (1/20 1/20 -3/20))
(qlength '((12-111) (16-1111) (20-11111) (28-1111111)))
=> ((1/12 1/12 1/12) (1/16 1/16 1/16 1/16) (1/20 1/20 1/20 1/20 1/20)
(1/28 1/28 1/28 1/28 1/28 1/28 1/28))
(qlength '((12-1[11]) (16-1[11]1) (20-11[11]1) (28-111[11]11)))
=> ((1/12 11/12) (1/16 11/16 1/16) (1/20 1/20 11/20 1/20)
(1/28 1/28 1/28 11/28 1/28 1/28))